//package com.yaoyong.yy_demo.module.quartz;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.scheduling.annotation.EnableScheduling;
//import org.springframework.scheduling.annotation.Scheduled;
//
//@Slf4j
//@EnableScheduling
//@Configuration
//public class DemoQuartz {
//
//    @Scheduled(cron = " 0/5 * * * * ? ")
//    public void myLogic1() {
//        log.info("调度任务1开始了");
//    }
//
//    @Scheduled(cron = " 0/10 * * * * ? ")
//    public void myLogic2() {
//        log.info("调度任务2开始了");
//    }
//}
